import settings from "@/settings";
const defaults = Object.assign({
  title: "操作",
  width: 200,
  align: "left",
  fixed: "right"
}, settings.parse("view.table.columns.operate"));
/** 表格行参数定义 */
export class ViewTableRow {
  constructor() {
    this.fixed = defaults.fixed;
    this.width = defaults.width;
    this.align = defaults.align;
    this.title = defaults.title;
    /** 默认展示的功能 */
    this.defaultActions = [];
    /** 更多按钮中隐藏的功能 */
    this.moreActions = [];
  }
  render(row, index) {
    return "";
  }
}
